Java Script It!
See Also...
Info
News Scroller
 
Description
A java applet that creates a news scroller.

Properties
Property Description
Width The width of the applet in pixels.
Height The height of the applet in pixels.
Border width The size of the border in pixels.
Background Color The background color for the applet.
Text Color The color of the text that appears below each headline. If the message has a hyperlink associated with it then it will appear blue.
Speed The amount of time in milleseconds that occurs between each step. The lower the setting the faster the scroll.
Scroll The number of lines that are scrolled at each step (scroll). Higher values result in faster but choppier scrolls.
Background Image URL The URL to the image (JPEG or GIF) that will be displayed as the background for the applet. The URL can be absolute or relative. This property is optional.
Message & URL Setup Stores the list of each item (Headline, Message and URL) that will appear in the applet.
Insertion Point The character position within the current document where the applet code will be inserted into and hence appear within the browser. You must enter an Insert Point before viewing the applet within the current document.

Browser Compatibility
Navigator 3 IE 3 Navigator 4++ IE 4++
compatible compatible compatible compatible

Aditional Information
When uploading a document that contains this applet be sure to include the following class file(s) in the same directory as the HTML document...

  • NewsMessage.class
  • NewsScroller.class
  • Scroller.class
  • WebBase.class
  • news.txt

Troubleshooting

  • If the applet does not display properly or does not display at all then check to make sure that the applet code is inserted into the proper position within the document and that the tagging structure (ie broken tags) is correct
  • If the applet displayed locally but not when you upoaded it to a server then make sure that all class files were uploaded (listed above under Additional Information) and that their names were correctly maintained during the transer (class files names are case sensitive)

Info
Support